home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
moden
/
adxport.int
< prev
next >
Wrap
Text File
|
1996-04-08
|
2KB
|
63 lines
{$G+,X+,F+}
{Conditional defines that may affect this unit}
{$I AWDEFINE.INC}
{*********************************************************}
{* ADXPORT.PAS 1.01 *}
{* Copyright (c) TurboPower Software 1995 *}
{* All rights reserved. *}
{*********************************************************}
unit AdXPort;
interface
uses
SysUtils, WinTypes, WinProcs, Messages,
Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls,
AdMisc, AdPort;
type
TComPortOptions = class(TForm)
FlowControlBox: TGroupBox;
Label1: TLabel;
Label2: TLabel;
DTRRTS: TCheckBox;
RTSCTS: TCheckBox;
SoftwareXmit: TCheckBox;
SoftwareRcv: TCheckBox;
Edit1: TEdit;
Edit2: TEdit;
OK: TButton;
Cancel: TButton;
Comports: TRadioGroup;
Bauds: TRadioGroup;
Paritys: TRadioGroup;
Databits: TRadioGroup;
Stopbits: TRadioGroup;
procedure OKClick(Sender: TObject);
procedure CancelClick(Sender: TObject);
private
FComPort : TApdComPort;
Executed : Boolean;
protected
function GetComPort : TApdComPort;
procedure SetComPort(NewPort : TApdComPort);
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
function Execute: Boolean;
property ComPort : TApdComPort
read GetComPort write SetComPort;
end;
var
ComPortOptions: TComPortOptions;